﻿@using Microsoft.Web.Helpers
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>@ViewBag.Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Le styles -->
    @*@Styles.Render("~/Content/themes/base/css", "~/Content/css")*@
    @Styles.Render("~/Content/Bootstrap/")
    @Styles.Render("~/Content/Custom")
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
      <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
   @* <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>*@
    @*  <script src="~/Scripts/Bootstrap/bootstrap-carousel.js"></script>*@

@*    <style>
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }
    </style>*@
   @* <link href="~/Content/bootstrap-responsive.min.css" rel="stylesheet">*@

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="~/Scrum.ico"  type="image/x-icon" />
 
  </head>
    <body>
        <div class="navbar navbar-fixed-top">  
            <div class="navbar-inner">
                <div class="container">
                    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="brand" href="#">
                        <img src="~/Content/Image/Scrum.png" class="img-rounded">
                        Simple Scrum
                    </a>
                    <div class="nav-collapse in collapse" style="height: auto;">
                        
                        <ul class="nav">
                            <li>@Html.ActionLink("Home", "Index", "Home")</li>
                            <li>@Html.ActionLink("About", "About", "Home")</li>
                            <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
                            @if (Roles.IsUserInRole("admin")){
                                <li>@Html.ActionLink("Control", "Index", "Admin",new { area = "ScrumAdmin" })</li>
                                <li>@Html.ActionLink("Organization", "Index", "Organization",new { area = "ScrumUser" })</li>
                            }
                            else if (Roles.IsUserInRole("user"))
                            {

                                <li>@Html.ActionLink("Organization", "Index", "Organization",new { area = "ScrumUser" })</li>
                            }
                        </ul>

                    </div><!--/.nav-collapse -->
                    <div class="nav-collapse in collapse" style="height: auto;">
                        @Html.Partial("_LoginPartial")
                    </div>
                </div>
            </div>
        </div>
        @if (IsSectionDefined("featured"))
        {
            <div class="hero-unit">
                @RenderSection("featured", required: false)
            </div>
        }
        @RenderBody()
        <footer class="footer unlink">
                <div>
                    @*<span class="pull-left">Share: @LinkShare.GetHtml("Simple Scrum -for software development.")
                @Facebook.LikeButton(href:"https://www.facebook.com/ScrumToolOpenSource",
                                        buttonLayout:"standard", showFaces:false, width:280, height:20, action:"like", font:"segoe ui",colorScheme:"light",refLabel:"")
                </span>*@
                    <h5>
                        &copy; @DateTime.Now.Year @Html.ActionLink("naabs.com","http://naabs.com/")| All Rights Reserved | Privacy Policy | Security Statement
                    </h5>
                </div>
        </footer>

        <!-- Le javascript
            ================================================== -->
        <!-- Placed at the end of the document so the pages load faster -->
        @*@Scripts.Render("~/bundles/modernizr")*@
        @Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/Bootstrap/")
        @RenderSection("scripts", required: false)

    </body>
</html>
